//
// Created by YE on 2024/1/15.
//

#ifndef YCH_INTERPRETER_SYMBOLS_H
#define YCH_INTERPRETER_SYMBOLS_H

#include "../common/ych_object.h"
struct Var_Info{
    Ot ot;
    unsigned int p;
};
struct FuncInfo{
    unsigned int params;
    unsigned int fp;
    unsigned int t_var_nums;
};
extern std::unordered_map<String,Var_Info> Var_table;
extern std::unordered_map<String,FuncInfo> Func_table;
extern std::unordered_map<Int,unsigned int> Int_table;
extern std::unordered_map<Float,unsigned int> Float_table;
extern std::unordered_map<String,unsigned int> String_table;
extern std::unordered_map<String,unsigned int> Inner_Var_table;
#endif //YCH_INTERPRETER_SYMBOLS_H

